﻿using ShopEnzi.Data.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShopEnzi.Data.Entities
{
    public partial class Category : NH.Beng.Entity.Entity<Category>
    {
        public virtual string Name { get; set; }
        public virtual CategoryType Type { get; set; }
        public virtual Category ParentCategory { get; set; }

        private IList<Product> _Products = new List<Product>();

        public virtual IList<Product> Products
        {
            get { return _Products; }
            set { _Products = value; }
        }
    }
}
